<%-- 
    Document   : racesForm
    Created on : Nov 23, 2012, 5:59:23 PM
    Author     : Mattysek
--%>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<s:form beanclass="cz.muni.fi.pa165.ddtroops.web.actionbeans.RaceActionBean">
    <tiles:importAttribute name="hidden" />
    <s:hidden name="${hidden}"/>
    <fieldset><legend><tiles:getAsString name="legend"/></legend>
        <s:errors/>
    <div id="form">
        <div class="row">
            <s:label for="b1" name="race.name"/>
            <s:text id="b1" name="race.name"/>
            <div class="accordion">
                <s:label for="requiredValue"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b2" name="race.description"/>
            <s:text id="b2" name="race.description"/>
            <div class="accordion">
                <s:label for="requiredValue"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b3" name="race.charisma"/>
            <s:text id="b3" name="race.charisma"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="raceAttrInterval"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b4" name="race.constitution"/>
            <s:text id="b4" name="race.constitution"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="raceAttrInterval"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b5" name="race.dexterity"/>
            <s:text id="b5" name="race.dexterity"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="raceAttrInterval"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b6" name="race.intelligence"/>
            <s:text id="b6" name="race.intelligence"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="raceAttrInterval"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b7" name="race.strength"/>
            <s:text id="b7" name="race.strength"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="raceAttrInterval"/>
            </div>
        </div>
        <div class="row">
            <s:label for="b8" name="race.wisdom"/>
            <s:text id="b8" name="race.wisdom"/>
            <div class="accordion">
                <s:label for="requiredValue"/><br/>
                <s:label for="raceAttrInterval"/>
            </div>
        </div>
    </div>
    <tiles:importAttribute name="action" />
    <div class="cent">
    <s:submit name="${action}"><tiles:getAsString name="button"/></s:submit>
    </div>
    </fieldset>
</s:form>